home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
rdslik1a
/
testcomb.asp
< prev
Wrap
Text File
|
1999-07-27
|
833b
|
30 lines
<!-- #include file="Functions.inc" -->
<SCRIPT LANGUAGE="VBSCRIPT">
Sub btnAddCombo_OnClick()
call LoadArray ("Please enter a new value for the combo!","New Combo Value","", "Table1", "ID", "Description", "frmTest.cmbTest", 0, "")
end sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE> Add Combo Test </TITLE>
</HEAD>
<CENTER><BODY BGCOLOR="#FFFFFF">
<H3><U>Add Combo Test</U></H3>
<FORM name="frmTest">
<TABLE border="1">
<TR>
<TD></TD>
<TD><B>Field Value</B></TD>
<TD>Action</TD>
</TR>
<TR>
<TD>Test Combo</TD>
<TD><%Call DoDropDown("cmbTest","SELECT * FROM Table1","ID","Description",0)%></TD>
<TD><INPUT TYPE="button" NAME="btnAddCombo" VALUE="Add"></TD>
</TR>
</TABLE>
</FORM>
</BODY></CENTER>
</HTML>
<!-- #include file="FunctionAddCmb.asp" -->